x86/mm: change ASSERTs to BUG_ONs in mem_sharing.c
authorTim Deegan <Tim.Deegan@citrix.com>
Wed, 8 Dec 2010 10:46:31 +0000 (10:46 +0000)
committerTim Deegan <Tim.Deegan@citrix.com>
Wed, 8 Dec 2010 10:46:31 +0000 (10:46 +0000)
commit14b3ef36453ea2652d5316db7a98b2a248c0c660
tree71c8b437187edce57c4c6cac53d089b4732661e9
parentca2570b805c06fa70a3fdc3492bf0ef04060c349
x86/mm: change ASSERTs to BUG_ONs in mem_sharing.c

These two ASSERTs have important side-effects so make them into BUG_ONs
consistent with the rest of the file.
Bug found by Jui-Hao Chiang <juihaochiang@gmail.com>.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/mem_sharing.c